package com.nymph.session;

import java.util.List;

/**
 * @Description: This is a sample class.
 * @Author: Simon
 */
public interface SqlSession {
    <T> T selectOne(String StatementId,Object parameter);

    <E> List<E> selectList(String StatementId, Object parameter);

    void update(String StatementId,Object parameter);

    void insert(String statementId, Object parameter);

    <T> T getMapper(Class<T> parameter);

    Configuration getConfiguration();
}
